package fr.mystnihon.game.model.item;

public class Weapon {

	public String getName() {
		return mName;
	}

	public void setName(String name) {
		this.mName = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public double getDamage() {
		return mDamage;
	}

	public void setDamage(double damage) {
		if (damage > 0)
			this.mDamage = damage;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	private String mName = "weapon";
	private int type = 0;
	private double mDamage = 0;
	private int speed = 5;

	public Weapon() {
		// TODO Auto-generated constructor stub
	}

	public Weapon(String name, double damage) {
		mName = name;
		mDamage = damage;
	}

}
